package com.helen.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yang on 2018/5/15.
 */

public class ProductDetailEntity implements Serializable {

    /**
     * code : 0
     * msg : 获取成功
     * id : 3
     * imgs : [{"id":5,"url":"http://39.104.50.19/Images/201804250933313061842.png"}]
     * name : 印度尼西亚新鲜可口大甜椒
     * costprice : 7.0
     * discountprice : 6.0
     * count : 30
     * unit : 个
     * expressprice : 10.0
     * paycount : 0
     * commentcount : 0
     * commentname :
     * commentuserimg :
     * commentcontent :
     * commentimgs :
     * detailimgs : [{"id":4,"url":"http://39.104.50.19/UserImg/SystemImg.png"},{"id":5,"url":"http://39.104.50.19/Images/201804250933313061842.png"}]
     * "maxJinBao":null,
     * "maxDaiJin":null,
     * "isSpec":0,
     */
    private int code;
    private String msg;
    private int id;
    private String name;
    private double costprice;
    private double discountprice;
    private int count;
    private String unit;
    private double expressprice;
    private int paycount;
    private int commentcount;
    private String commentname;
    private String commentuserimg;
    private String commentcontent;
    private String commentimgs;
    private int maxJinBao;
    private double maxDaiJin;
    private int isSpec;
    private List<ImgsBean> imgs;
    private List<DetailimgsBean> detailimgs;

    public int getMaxJinBao() {
        return maxJinBao;
    }

    public void setMaxJinBao(int maxJinBao) {
        this.maxJinBao = maxJinBao;
    }

    public double getMaxDaiJin() {
        return maxDaiJin;
    }

    public void setMaxDaiJin(double maxDaiJin) {
        this.maxDaiJin = maxDaiJin;
    }

    public int getIsSpec() {
        return isSpec;
    }

    public void setIsSpec(int isSpec) {
        this.isSpec = isSpec;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getCostprice() {
        return costprice;
    }

    public void setCostprice(double costprice) {
        this.costprice = costprice;
    }

    public double getDiscountprice() {
        return discountprice;
    }

    public void setDiscountprice(double discountprice) {
        this.discountprice = discountprice;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getExpressprice() {
        return expressprice;
    }

    public void setExpressprice(double expressprice) {
        this.expressprice = expressprice;
    }

    public int getPaycount() {
        return paycount;
    }

    public void setPaycount(int paycount) {
        this.paycount = paycount;
    }

    public int getCommentcount() {
        return commentcount;
    }

    public void setCommentcount(int commentcount) {
        this.commentcount = commentcount;
    }

    public String getCommentname() {
        return commentname;
    }

    public void setCommentname(String commentname) {
        this.commentname = commentname;
    }

    public String getCommentuserimg() {
        return commentuserimg;
    }

    public void setCommentuserimg(String commentuserimg) {
        this.commentuserimg = commentuserimg;
    }

    public String getCommentcontent() {
        return commentcontent;
    }

    public void setCommentcontent(String commentcontent) {
        this.commentcontent = commentcontent;
    }

    public String getCommentimgs() {
        return commentimgs;
    }

    public void setCommentimgs(String commentimgs) {
        this.commentimgs = commentimgs;
    }

    public List<ImgsBean> getImgs() {
        return imgs;
    }

    public void setImgs(List<ImgsBean> imgs) {
        this.imgs = imgs;
    }

    public List<DetailimgsBean> getDetailimgs() {
        return detailimgs;
    }

    public void setDetailimgs(List<DetailimgsBean> detailimgs) {
        this.detailimgs = detailimgs;
    }

    public static class ImgsBean implements Serializable {
        /**
         * id : 5
         * url : http://39.104.50.19/Images/201804250933313061842.png
         */

        private int id;
        private String url;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    public static class DetailimgsBean implements Serializable {
        /**
         * id : 4
         * url : http://39.104.50.19/UserImg/SystemImg.png
         */

        private int id;
        private String url;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
